<page-header *ngIf="!title" [title]="'点击【保存】按钮保存当前页面修改'"></page-header>
<page-header *ngIf="title" [title]="'点击【保存】按钮保存当前页面修改，当前商品【'+title+'】'"></page-header>
<nz-card>
  <nz-steps [(nzCurrent)]="goodsService.step">
    <nz-step nzTitle="商品基础信息"></nz-step>
    <nz-step nzTitle="商品轮播图"></nz-step>
    <nz-step nzTitle="商品-渠道价格"></nz-step>
  </nz-steps>
  <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
  <app-step1 #step0 [(title)]="title" *ngIf="!isLoading && goodsService.step==0"></app-step1>
  <app-step2 #step1 [imgList]="imgList" *ngIf="!isLoading && goodsService.step==1"></app-step2>
  <app-step3 #step2 [levelOptions]="levelOptions" [goodsPricesOptions]="goodsPricesOptions" *ngIf="!isLoading && goodsService.step==2"></app-step3>
</nz-card>
